<?php
include("includes/country.php");
$country=new Country();

$step=4;
$order_ss		= gpc_getSession("IdOrder");
$PaymentMethod	= gpc_getSession("PaymentMethod");

if($order==$order_ss)
{
	$customerinfo="";
	
	$sql_select="select * from tblaccount as ac JOIN tblorder as OD ON
				ac.iAccountId=OD.iAccountId and OD.iId=$order";
	$result=$dbsql->query_fetch($sql_select);
	if($result)
	{
		$order_content=$result['cContent'];
		
			
		$customerinfo=$result['cCompany']."<br>";
		$customerinfo.=$result['cFirstName']." ".$result['cLastName']."<br>";
		$customerinfo.=$result['cAddress'].",<br>";
		$customerinfo.=$result['cCity']." ".$result['cState']."<br>";
		$customerinfo.=$country->getNameByCode($result['cCountry']);
		
		
		$company_info=company_info;
		$msg_return=Msg_notecheckout;
		
		$datereg=gpc_DisplayDate($result['dRegDate']);
		$daterrr=gpc_DisplayDate(gpc_add_date($result['dRegDate'],2));
		
		$PaymentMethod=getPaymentMethod($PaymentMethod);
	}else 
	{
		$msg_error=NotFoundOrder;
	}
	
}else {
	$msg_error=NotFoundOrder;
}

?>